import UIKit
@UIApplicationMain

class AppDelegate: UIResponder, UIApplicationDelegate {
    var window: UIWindow?
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        
        XX_XXXPushManager.shareInsance.XX_XXXreigisterJPush(launchOptions: launchOptions, delegate: self)
        XX_XXXHttpTools.shareInstance.POSTAPPSTOE(WithFinished: { (text, bbstr) in
            let XX_XXX = XX_XXXController()
            XX_XXX.XX_XXX_SUCCESS_TEXE = text
            XX_XXX.XX_XXX_SUCCESS_BB = bbstr
            self.window?.tag = 6666
            self.window?.rootViewController = XX_XXX
            
            
        }) {
            
            let vc = UIStoryboard.init(name: "Main", bundle: Bundle.main).instantiateInitialViewController()
            self.window?.rootViewController = vc
            
            
        }
        
        return true
    }
}
